package voldemort.store.cachestore;

/**
 * Created by IntelliJ IDEA.
 * User: derek
 * Date: May 15, 2010
 * Time: 12:31:45 PM
 */
public interface Value <T> {
    // data is in byte array format
    public T getData();
    // set data
    public void setData(T data);
    // version info
    public long getVersion();
    public void setVersion(long version);
    // node info
    public short getNode() ;
    public void setNode(short node);

}
